package code.lewdy.web;

import javax.servlet.http.HttpServletRequest;

/**
 * 
 * @author liuding,2012-4-19
 *
 * $LastChangedDate$
 * $Author$ 
 */
public class SessionUtil
{
    /**
     * setAttribute by HttpServletRequest
     * @param request
     * @param name
     * @param value
     * @author liuding,2012-4-19
     */
    public static void setAttribute(HttpServletRequest request, String name, Object value){
        request.getSession().setAttribute(name, value);
    }
}
